package org.jeecg.modules.wlhy.customer.service;

import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.system.model.CustomerSysLoginModel;
import org.jeecg.modules.third.dongjiang.tax.system.dto.ApiBaseResDTO;
import org.jeecg.modules.wlhy.customer.dto.ImportHyCustomerDTO;
import org.jeecg.modules.wlhy.customer.entity.HyCustomer;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @Description: hy_customer
 * @Author: jeecg-boot
 * @Date:   2020-11-30
 * @Version: V1.0
 */
public interface IHyCustomerService extends IService<HyCustomer> {

    void saveCustomer(HyCustomer hyCustomer);

    void saveCustomerBatch(List<ImportHyCustomerDTO> hyCustomerList);

    HyCustomer getCustomerByUserId(String userId);

    HyCustomer getCustomer(HttpServletRequest req);

    ApiBaseResDTO tjTaxUpload(HyCustomer hyCustomer);

    //快货运 上报托运人
    Result<?> tosUploadCustomer(HyCustomer hyCustomer);

    Result registerCustomer(CustomerSysLoginModel customerSysLoginModel);

}
